<template>
  <div class="EditUser">
    欢迎登陆本系统！
  </div>
</template>

<script>
import {getAllAdmins,getSearchAdmins,deleteAdmins} from '../../api/admin';
export default {
  name: 'EditAdmins',
  computed:{
  },
  data(){
  	return{
        adminsList:[]
  	}
  },
  mounted(){
  	const res = getAllAdmins();
  	res
  	.then((admins)=>{
  		this.adminsList = admins;
  	})
  	.catch((e)=>{
  		alert(e)
  	})
  },
  methods:{
    navTo(route){
        this.$router.push(route);
    },
  }
}
</script>

<style scoped lang="less">
@import "../../assets/css/var.less";
.EditUser{
	header{
		width: 100%;
		height: 40px;
		line-height: 40px;
		span{
			float: left;
		}
		div{
			height: 20px;
			float: right;
      input{
        border: none;
        border-bottom: 1px solid #337da4;
        background-color: rgba(0,0,0,0);
        width: 180px;
        padding-left: 10px;
      }
			button{
        position: relative;
        top: -1px;
        border: none;
        background-color: rgba(0,0,0,0);
				i{
					font-size: 17px;
          color:#337da4;
				}
			}
		}
	}
}
</style>
